package ztc.common;

import java.text.SimpleDateFormat;
import java.util.Date;

/**
 * Created by ztc on 16-4-8.下午7:48
 */
public class UserBean {
    private int id;
    private String name;
    private String sex;
    private String email;
    private String password;
    private String qq;
    private String weixin;
    private String phone;
    private String time;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getQq() {
        return qq;
    }

    public void setQq(String qq) {
        this.qq = qq;
    }

    public String getWeixin() {
        return weixin;
    }

    public void setWeixin(String weixin) {
        this.weixin = weixin;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getTime() {
        return time;
    }

    public UserBean(int id, String name, String sex, String email, String password, String qq, String weixin, String phone) {
        this.id = id;
        this.name = name;
        this.sex = sex;
        this.email = email;
        this.password = password;
        this.qq = qq;
        this.weixin = weixin;
        this.phone = phone;
        SimpleDateFormat simpleDateFormat=new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
        this.time=simpleDateFormat.format(new Date());
    }


}
